package com.shop.dao;

import java.util.List;

import com.shop.domain.Order;

/**
 * 
 * @author wenjuanhenxing
 * @version V1.0 OrderDao.java 2016-2-11 上午8:33:42
 */
public interface OrderDao {
	boolean addOrder(Order order);

	boolean deleteOrderById(Long id);

	boolean updateOrderStatus(Order order);

	boolean updateOrderCustomerEvaluate(Order order);

	boolean updateOrderSellerEvaluate(Order order);

	Order getOrderById(Long id);

	List<Order> getOrderByCustomerId(Long id);

	List<Order> getOrderBySellerId(Long id);
}
